import numpy
import cv2

frame = numpy.random.rand(720, 1280, 3)
frame = (frame * 255).astype(numpy.uint8)

print(frame.ndim) 
print(frame.shape)
print(frame.size)

cv2.imshow('Frame', frame)  
cv2.waitKey(5000)
cv2.destroyAllWindows()
